package generics;

import static java.lang.Math.PI;

public class Main
{
    public static void main (String[] args)
    {
        ShowFlag showFlag1 = new ShowFlag();
        Generic<Number> generic1 = new Generic<>();
        generic1.setFlag(PI);
        showFlag1.showFlag(generic1);
        
        ShowFlag showFlag2 = new ShowFlag();
        Generic<Integer> generic2 = new Generic<>();
        generic2.setFlag(15);
        showFlag2.donNotShowFlag(generic2);
        
    }
}
